#ifndef room_h
#define room_h

#include <string>

class Room {
public:
	std::string roomNumber;
	std::string type;
	double price;
	std::string status; // "空闲", "已订", "入住"
	
	Room();
	Room(const std::string& num, const std::string& t, double p, const std::string& s);
	void saveToFile(const std::string& filename) const;
	static Room loadFromFile(const std::string& filename);
};

#endif
